#!/bin/bash
while getopts "f:" opt
do
   case "$opt" in
      f ) input="$OPTARG" ;;
   esac
done
if [ -z "$input" ]
then
	echo "-f for file path"
else
	while IFS= read -r line
	do
		./tm "$line"
	done < $input
fi

